package com.myproject.service;

import com.myproject.mapper.UserMapper;
import com.myproject.pojo.Users;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService{
    @Autowired
    private UserMapper userMapper;



    @Override
    public Users queryUserByName(String name) {
        return userMapper.queryUserByName(name);
    }
}
